package com.golden.procedure.client;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.golden.procedure.clientDO.SalesAnalysisDO;

@FeignClient("members-Service")
public interface AnalysisClientAPI {

	@GetMapping("/api/analysis/{id}")
	public SalesAnalysisDO get(Integer id);
	
	@GetMapping("/api/analyses/{customerId}/")
	public List<SalesAnalysisDO> query(Integer customerId);
}
